home *** CD-ROM | disk | FTP | other *** search
- OOFILE Validation Suite - Test 30
- Simple test to operations on all the standalone field types
-
- change the default date order to Month, Day Year
-
- Testing oofDate:
- Today: 4/2/1997
- Two weeks ago: 3/19/1997
- Jan 16th '97 1/16/1997
-
-
- Testing oofDateTime:
- Today: 2/4/1997 18:33:48
- Two weeks ago: 19/3/1997 18:33:48
- Jan 16th '97 3:15 pm 16/1/1997 15:15:00
-
-
- Testing oofTime:
- Now: 18:33:48
- 3000 milliseconds (3 seconds) earlier: 18:33:45
- 3:15:45.32 pm 15:15:46
-
-
- Testing oofText:
- 'Hi There' Hi There
- 'Hi There Andy' Hi There Andy
- 'Jan 15th '97' Jan 15th '97
- 'appended to empty' appended to empty
-
-
- Testing OOF_String simple string class:
- 'Hi There' Hi There
- 'Hi There Andy' Hi There Andy
- 'Jan 15th '97' Jan 15th '97
- 'appended to empty' appended to empty
- '123456' 12345
- '123.456' 123.456
- 'printf test: 123456' printf test: 123456
-
-
- Testing oofChar:
- 'Hi There' Hi There
- 'Hi There Andy' Hi There Andy
- 'Jan 15th '97' Jan 15th '97
- 'appended to empty' appended to empty
-
-
- Testing oofUshort:
- '99' 99
- '101' 101
- '1001' 1001
-
-
- Testing oofShort:
- '-99' -99
- '-101' -101
- '1001' 1001
-
-
- Testing oofUlong:
- '99' 99
- '101' 101
- '1000001' 1000001
-
-
- Testing oofLong:
- '-99' -99
- '-101' -101
- '1000001' 1000001
-
-
- Testing oofBool:
- 'T' T
- 'F' F
- 'T' T
- 'F' F
- 'T' T
-
-
- Testing oofReal:
- '-0.99' -0.99
- '-1.01' -1.01
- '1000001' 1e+06
-
-
- Testing oofBLOB:
- '0, 2, 4, 8, 16, 65535, 0xADADADAD'
- 00 00 00 00 00 00 00 02 00 00 00 04 00 00 00 08
- 00 00 00 10 00 00 ff ff ad ad ad ad
-
- same as above, twice
- 00 00 00 00 00 00 00 02 00 00 00 04 00 00 00 08
- 00 00 00 10 00 00 ff ff ad ad ad ad 00 00 00 00 00
- 00 00 02 00 00 00 04 00 00 00 08 00 00 00 10 00 00
- ff ff ad ad ad ad
-
- same as first
- 00 00 00 00 00 00 00 02 00 00 00 04 00 00 00 08
- 00 00 00 10 00 00 ff ff ad ad ad ad
-
-
-
- This is a text string, which will be automatically attached as an oofChar 12.3 4/2/1997
-
- done
-